#pragma once

#include "master.h"

#include "entity.h"

//--------------------------------------------------------------------------------------------------
// EntRectGrid.h - A grid of rectangles!
//--------------------------------------------------------------------------------------------------

class EntRectGrid : public Entity
{
public:
	EntRectGrid();
	EntRectGrid(ofxXmlSettings &xml);

	void customDraw();
	void save(ofxXmlSettings &xml);

	ofColour colour;

	Entity* copy();

	int gridWidth;
	int gridHeight;
};

//--------------------------------------------------------------------------------------------------

Entity* entRectGrid_create(ofxXmlSettings &xml);

//--------------------------------------------------------------------------------------------------